<include file="../Public/header" />
<load href="__PUBLIC__/Js/UserJs.js" />
<style>
.us img{border:1px solid #999; width:100px; height:100px;}
.us_btn{height:27px; line-height:27px; font-size:12px; font-weight:bold; padding:0 10px; text-decoration:underline;}
</style>
<div class="ncenter_box">
<div class="accounttitle"><h1>申请激活码</h1></div>
        <table width="100%" class="tab3" border="0" cellpadding="3" cellspacing="1" id="tb1" bgcolor="#b9c8d0">
        	<tr>
            	<th with="20%">激活码订单号</th>
<!--                 <th>生成者</th> -->  
                <th with="20%">申请者</th>
                <th with="20%">申请时间</th>
                <th with="20%">申请个数</th>
                <th with="20%">已发个数</th>
                <th with="20%">待发个数</th>
            </tr>
            <volist name="list" id="row">
            	<tr align="center">
                	<td>{$row['ordernumber']}</td>           
                    <td><gt name="row['id']" value="0">{$row['user_id']}<else />-</gt></td>
                    <td><gt name="row['s_time']" value="0">{:date('Y-m-d H:i:s',$row['s_time'])}<else />-</gt></td>
                    <td><gt name="row['s_nums']" value="0">{$row['s_nums']}<else />0</gt></td>
                    <td><gt name="row['y_nums']" value="0">{$row['y_nums']}<else />0</gt></td>
                    <td><gt name="row['id']" value="0">{$row['s_nums']-$row['y_nums']}<else />-</gt></td>
                </tr>
            </volist>
        </table>
        <br/>
        <table width="100%" class="tab3" border="0" cellpadding="3" cellspacing="1" id="tb1" bgcolor="#b9c8d0">
            <tr align="right">
                <td>
    	<form action="{:U('Change/applyforCard')}" method="post">
       申请数量：<input class="input_0" name="s_nums" size="8" /> &nbsp;&nbsp;
        	<input type="submit" class="bt_tj" value="申请激活码" />
        </form>
                </td>
            </tr>
        </table>
<table width="100%" style="background:#f7f9fa; border-top:1px solid #f2f3f6;">
            <tr align='center'>
                <td>{$page}</td>
            </tr>
      </table> 
      </div>
      
